package com.stock.service;

import com.stock.domain.vo.request.LoginRequest;
import com.stock.domain.vo.response.LoginResponse;
import com.stock.domain.vo.response.Response;
import com.stock.pojo.entity.SysUser;

import java.util.Map;

public interface UserService {
    //根据用户名称查询用户信息
    SysUser selectByUsername(String username);

    //用户登录
    Response<LoginResponse> login(LoginRequest loginRequest);

    //登录验证码
    Response<Map> getCaptchaCode();
}
